package hcn.protocol.ods.feeinquiry;/**
 * @Auther: Administrator
 * @Date: 2019/6/12 13:31
 * @Description:
 */

import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zhusm@bsoft.com.cn
 *
 * @Description: 出院带药信息返回参数
 *
 * @Create: 2019-06-12 13:31
 **/
@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
@ToString
public class DischargeMedicationInformationResponse implements Serializable {
    private static final long serialVersionUID = 5684165167134107293L;


    /**
     * hospitalName : 创业试点医院
     * inHospitalRecordNumber : A01232
     * inHospitalRecordCode : 0234123
     * patientName : 测试1
     * inDate : 2019-05-22 10:23:23
     * outDate : 2019-05-22 10:23:23
     * patientSexText : 男
     * patientAge : 23
     * departmentName : 外分泌科
     * bedNumber : A023
     * dischargeDiagnosis : 外分泌失调
     * detailsItems : [{"itemTypeCode":"1","itemTypeName":"西药处方","itemName":"阿莫西林胶囊","itemNumber":"1","price":"23.05","amount":"23.05","unit":"盒","specifications":"0.25g*24粒*2板","drugFrequency":"3次/日","drugConsumption":"2片/次","drugRoute":"口服","itemRemark":""},{"itemTypeCode":"1","itemTypeName":"西药处方","itemName":"银翘片","itemNumber":"2","price":"20","amount":"40","unit":"盒","specifications":"18片*2袋","drugFrequency":"3次/日","drugConsumption":"2片/次","drugRoute":"口服","itemRemark":""},{"itemTypeCode":"2","itemTypeName":"中药处方","itemName":"不知名中成药1","itemNumber":"3","price":"20","amount":"60","unit":"盒","specifications":"18片*2袋","drugFrequency":"3次/日","drugConsumption":"2片/次","drugRoute":"口服","itemRemark":""},{"itemTypeCode":"2","itemTypeName":"中药处方","itemName":"不知名中成药2","itemNumber":"3","price":"20","amount":"60","unit":"盒","specifications":"18片*2袋","drugFrequency":"3次/日","drugConsumption":"2片/次","drugRoute":"口服","itemRemark":""},{"itemTypeCode":"3","itemTypeName":"草药处方","itemName":"人参4g    卜芥4g    丁香4g   刀豆4g    干姜4g    广白4g   大蓟4g    山丹4g","itemNumber":"共五剂","price":"10","amount":"50","unit":"帖","specifications":"g","drugFrequency":"1次/日","drugConsumption":"1剂/次","drugRoute":"煎服","itemRemark":""}]
     */

    private String hospitalName;
    private String inHospitalRecordNumber;
    private String inHospitalRecordCode;
    private String patientName;
    private String inDate;
    private String outDate;
    private String patientSexText;
    private String patientAge;
    private String departmentName;
    private String bedNumber;
    private String dischargeDiagnosis;
    private List<DetailsItemsBean> detailsItems;

    @NoArgsConstructor
    @Data
    @AllArgsConstructor
    @Builder
    @ToString
    public static class DetailsItemsBean {
        /**
         * itemTypeCode : 1
         * itemTypeName : 西药处方
         * itemName : 阿莫西林胶囊
         * itemNumber : 1
         * price : 23.05
         * amount : 23.05
         * unit : 盒
         * specifications : 0.25g*24粒*2板
         * drugFrequency : 3次/日
         * drugConsumption : 2片/次
         * drugRoute : 口服
         * itemRemark :
         */

        private String itemType;
        private String itemCode;
        private String itemTypeName;
        private String itemName;
        private String itemNumber;
        private String price;
        private String amount;
        private String drugDose;
        private String doseUnit;
        private String unit;
        private String fee;
        private String specifications;
        private String frequencyName;
        private String usageName;
        private String decoctionCode;
        private String itemRemark;
    }
}
